1
general::
Phrase(s): for the devil of it [and] for the heck of it; for the hell of it
because it is slightly evil; for no good reason. (Use caution with hell.) • The kids broke the window just for the devil of it. • We just drove over for the heck of it.
McGrawhill's American Idioms And Phrasal Verbs